package cn.itsource.pethome.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {
    /*主键*/
    private Long id;
    /*部门编号*/
    private String sn;
    /*部门名称*/
    private String name;
    /*暂时不用*/
   // private String dirPath;
    /*部门状态 0 正常 ，-1 停用*/
    private int state;
    /*部门经理 和员工关联*/
    private Employee manager;
    /*上级部门*/
    private Department parent;
    //private List<Department> children = new ArrayList<>();

}
